@layout("/common/_curd/_container.html"){
<style>
	imgAuto{
		max-height: 80px;
	}
</style>
<link rel="stylesheet" href="/static/webuploader/webuploader.css">
<script type="text/javascript" src="/static/webuploader/webuploader.js"></script>
<script type="text/javascript" src="/static/common/uploader.js"></script>
<script type="text/javascript" src="/static/common/uploader_limit1.js"></script>
<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
	<!-- 表单 -->
	<div class="form-group" style="display:block">
		<label class="col-sm-2 control-label no-padding-right"> 封面图 </label>
		<div class="col-sm-8">
			<div id="uploader-demo2">
				<input type="hidden" name="anli_logs.pic" id="webuploader_limit1" value="${point.pic!}">
				<!--用来存放item-->
				<div id="fileList_limit1" class="uploader-list" style="display: flex">
					<div  style="overflow: hidden;height: 80px;"  class="file-item thumbnail upload-state-done"><img class="imgAuto" width="80px" height="80px" src="${point.pic!}"></div>
				</div>
				<div id="filePicker_limit1">选择图片</div>
			</div>
		</div>
	</div>

		<!-- 表单 -->
		@ var _table="anli_logs";
		@ var _key="id";
		@ var _col=[
		@			  {name:"案例", index:"anli_id", type:"selectDiy",source:"Dict.diyAnlis",newline:true,length:8,required:"required"},
		@			  {name:"拍摄时间", index:"showtimes", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"主题", index:"program", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"排序", index:"num", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"全景图地址", index:"vr_url", type:"text",newline:true,length:8,required:"required"}		
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}